package cn.xorange.commons.data.configuration;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author : yangjian
 * @date : 2021/12/9
 * @description :
 */
@Data
@ConfigurationProperties(prefix = "mickey.data")
public class GlobalDataConfig {

    private String keyType = "snowflake";
    private Integer snowflakeMachineBit = 5;
    private Integer snowflakeDatacenterBit = 5;
    private String logicDeleteColumn = "del_flag";
    /** 未删除 */
    private Integer logicNotDeleteValue = 0;
    /** 已删除 */
    private Integer logicDeleteValue = -1;

}
